Write desired retirement contribution inputs#1125
Merged
Merged
Conversation
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
self_employed_pension_contributionsmainand keep its newer temporarypolicyengine-usGit pinDependency note
PolicyEngine-US includes the desired retirement contribution inputs and plain contribution formulas in merged code, but PyPI publication is currently blocked by the
policyengine-usproject-size limit. This PR therefore follows the precedent from #987 and temporarily pinspolicyengine-usto the exact upstream Git commit currently used bymain(1da04a64dcdce26834b063d68daa835765a5d8ed, version 1.706.14). The dependency guard allows this only while the locked version is newer than the latest PyPI release and warns to switch back to an exact PyPI pin once publication is restored.Supersedes
Tests
uv run ruff check .github/scripts/check_policyengine_us_dependency.py policyengine_us_data/calibration/puf_impute.py policyengine_us_data/datasets/cps/cps.py policyengine_us_data/datasets/cps/extended_cps.py policyengine_us_data/datasets/puf/puf.py policyengine_us_data/db/etl_national_targets.py policyengine_us_data/storage/calibration_targets/soi_metadata.py policyengine_us_data/utils/loss.py policyengine_us_data/utils/national_target_parity.py tests/unit/calibration/test_calibration_puf_impute.py tests/unit/calibration/test_retirement_imputation.py tests/unit/datasets/test_cps_income_variables.py tests/unit/test_extended_cps.py tests/unit/test_income_target_mappings.pyenv UV_FROZEN=0 uv lock --lockeduv run python .github/scripts/check_policyengine_us_dependency.py --mode failpolicyengine-us 1.706.14uv run pytest tests/unit/datasets/test_cps_income_variables.py tests/unit/test_extended_cps.py tests/unit/calibration/test_retirement_imputation.py tests/unit/calibration/test_calibration_puf_impute.py tests/unit/test_income_target_mappings.py -q— 148 passed